package com.cors.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/cors")
//@CrossOrigin(origins = "http://localhost:9901")
public class CorsController {


    @RequestMapping(value = "/show")
    public String show(){
        return "hello cors";
    }

}
